package com.design.android.personnel.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 登录用户信息存储的实体类
 *
 * @author admin
 */
public class LoggedInUser implements Serializable {
    private static final long serialVersionUID = 6249321803882443065L;
    /**
     * 登录时间
     */
    private Date loginTime;

    /**
     * 登录用户信息
     */
    private User user;

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "LoggedInUser{" +
                "loginTime=" + loginTime +
                ", user=" + user +
                '}';
    }
}
